set Metadata
Set a metadata value of a block identified by a key. If the key does not exist, yet, it will be added.
Parameters
block
the block whose metadata will be accessed.
key
the key used to identify the desired piece of metadata.
value
the value to set.